//
//  RectView.h
//  aa
//
//  Created by 刘东旭 on 2017/8/11.
//  Copyright © 2017年 meicam. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Utils.h"
@class RectView;

@protocol RectViewDelegate <NSObject>

- (void)rectView:(RectView*)rectView close:(UIButton*)close;
//- (void)rectView:(RectView *)rectView align:(UIButton *)align;
- (void)rectView:(RectView *)rectView scale:(float)scale;
//- (void)rectView:(RectView *)rectView rotate:(float)rotate scale:(float)scale;
- (void)rectView:(RectView *)rectView currentPoint:(CGPoint)currentPoint previousPoint:(CGPoint)previousPoint;
- (void)rectView:(RectView *)rectView touchBeganPoint:(CGPoint)point;

@end

@interface RectView : UIView

@property (strong, nonatomic)id delegate;
@property (assign, nonatomic) NvSSVideoCreateScale videoscale;

- (void)setPoints:(NSArray *)array;
- (CGPoint)getCenter;

@end
